namespace FaultDiagnosisSystem.Models.DataModels
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Turbine")]
    public partial class Turbine
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Turbine()
        {
            TenMeanData = new HashSet<TenMeanData>();
        }

        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int TurbineId { get; set; }

        [Required]
        [StringLength(50)]
        public string TurbineName { get; set; }

        public bool IsPowerLimited { get; set; }

        public bool IsOn { get; set; }

        public bool IsSelected { get; set; }

        public int? SCADA_NodeId { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<TenMeanData> TenMeanData { get; set; }
    }
}
